<template>
  <starPage :config="pageConfig" v-debug="{ me, vms, models, dataSet }">
    <template #leftCard>
      <mainTree :data="dataSet.leftTableData"></mainTree>
    </template>
    <template #rightCard>
      <rightTable :data="dataSet.rightTableData"></rightTable>
    </template>
    <template #others>
      <editModal :data="dataSet.rightFormData" :attrs="attrs"></editModal>
      <detailModal
        :data="dataSet.leftFormData"
        :attrs="detailAttrs"
      ></detailModal>
      <feedModal :data="dataSet"></feedModal>
    </template>
  </starPage>
</template>

<script>
import ancMixin from "./ancMixin";

export default {
  name: "",

  mixins: [ancMixin],
  data() {
    return {
      tabName: "",
    };
  },
  props: {},
  watch: {},
  computed: {
    pageConfig() {
      return {
        title: {
          "en-US": "",
          "zh-CN": "生产订生产调度单",
        }[this.G_Locale],
        cols: [6, 18],
        left: {
          title: "工位", //标题；如果icon和title都为空，则不显示标题头
        },
        right: {
          title: "工单", //标题；如果icon和title都为空，则不显示标题头
      
        },
      };
    },
    view() {
      return {
        type: ["starGenView", "starTwoView", "starThreeView"][1],
        attrs: {
          left: 4,
          right: 20,
          middle: 0,
          minLeftHeight: "300px",
          title: {
            "en-US": "abc",
            "zh-CN": "生产调度",
          }[this.G_Locale],
          fontStyle: {},
        },
      };
    },
  },
  created() {},
  mounted() {},
  methods: {},
};
</script>
